/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package thienphuc.patient.dao;

import java.util.List;
import thienphuc.patient.dto.DonViTinh;


/**
 *
 * @author QuocDat
 */
public interface DonViTinhDAO extends Dao<DonViTinh, Integer> {
    public final static String DON_VI_TINH_MA_DON_VI_TINH = "maDonViTinh";
    public final static String DON_VI_TINH_TEN_DON_VI_TINH = "tenDonViTinh";
    public final static String DON_VI_TINH_MO_TA = "moTa";
    public final static String DON_VI_TINH_TRANG_THAI = "trangThai";
    public final static String DON_VI_TINH_THUOCS = "thuocs";
    
    /**
     * Find DonViTinh by TenDonViTinh
     * @param tenDonViTinh
     * @return
     * @throws Exception 
     */
    List<DonViTinh> findByTenDonViTinh(String tenDonViTinh) throws Exception;
    
}
